﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2019
// 文件： CarGroupBrandEntity.cs
// 项目名称：斑马车务
// 创建时间：2019/11/11
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
	/// <summary>
	///数据实体  
	/// </summary>
    [PrimaryKey("ID")]
	public class CarGroupBrand
	{
		///<summary>
		///
		///</summary>
		public CarGroupBrand()
		{
		}	
    
		
		///<summary>
		///
		///</summary>
        [Column("ID","")]
        public int ID { get; set; }

		///<summary>
		///群组ID
		///</summary>
        [Column("CarGroupID","群组ID")]
        public int CarGroupID { get; set; }

		///<summary>
		///主品牌ID
		///</summary>
        [Column("MasterBrandID","主品牌ID")]
        public int MasterBrandID { get; set; }

		///<summary>
		///品牌ID
		///</summary>
        [Column("BrandID","品牌ID")]
        public int BrandID { get; set; }

		///<summary>
		///车型ID
		///</summary>
        [Column("ModelID","车型ID")]
        public int ModelID { get; set; }

		///<summary>
		///
		///</summary>
        [Column("CreatedDate","")]
        public DateTime CreatedDate { get; set; }

        [ResultColumn("BrandName", "")]
        public string BrandName { get; set; }

        [ResultColumn("SerialName", "")]
        public string SerialName { get; set; }

    }
}